package com.mdd.common.validate.timeslot;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.*;
import java.math.BigDecimal;


/**
 * 时间段参数
 *
 * @author LikeAdmin
 */
@Data
@ApiModel("时间段更新参数")
public class TimeSlotUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @NotNull(message = "请选择开始时间")
    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @NotNull(message = "请选择结束时间")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否禁用: [0=否, 1=是]")
    private Integer isDisable;

    @ApiModelProperty(value = "附加金额")
    private BigDecimal orderAmount;

}
